<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/validate.jsp"%>
<%
    String syxh = input.getDesc("syxh","15605");
    String start_date = input.getDesc("start_date","2018-02-25");
    String end_date = input.getDesc("end_date","2018-02-25");
    String type = input.getDesc("type","1");

    HashMap<String, String> map2 = new HashMap<String, String>();

    map2.put("syxh", syxh);
    map2.put("start_date", start_date);
    map2.put("end_date", end_date);
    String url = "http://192.168.1.250:8080/sheet/queryDetail.jsp";
    if("2".equals(type)){
        url = "http://192.168.1.250:8080/sheet/queryCalendar.jsp";
    }
    String json = HttpUtil.post(url,map2);

    Tools.encryptPrint(out,json);

%>
